package com.thingsgrid.device.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "Shadow" )
@ApiModel(value = "shadow",description = "shadow对象")
public class Shadow {
	/**
	 *设备影子id
	 */
	@Id
	private String ShadowId;
	/**
	 *设备id
	 */
	private String deviceId;

	private String attibuteName;
	private String attibuteNameShowing;
	private String attibuteType;
	private String attibuteDefaultValue;
	private String attibuteCurrentValue;
	private String attibuteExpectedValue;
	private String attibuteUnit;
	/**
	 * 原始数据
	 */
//	private String originalData；
	/**
	 * 创建时间
	 */
	private String createTime;


}
